package com.vogue.supplymall.common.domain.dto;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * The type Update prepay.
 *
 * @author zhangliang
 * @date Create in 2018-08-23
 */
public class UpdatePrepay implements Serializable {

    /**
     * 登录用户的ID
     */
    private Long loginId;

    /**
     * 卖家系统唯一码（不是id是用户获得的数字随机码）
     */
    private Long sellSyscode;
    /**
     * 卖家系统唯一码（不是id是用户获得的数字随机码）
     */
    private Long buySyscode;
    /**
     * 系统唯一码的id
     */
    private Long syscodeid;
    /**
     * 机构id
     */
    private Long organid = 0L;
    /**
     * 订单id
     */
    private Long orderid;

    /**
     * 退货单id
     */
    private Long refundid = 0L;

    /**
     * 账户id
     */
    private Long accountid;

    /**
     * 卖家系统注册号id
     */
    private Long sellsyscodeid;

    /**
     * 卖家门店id
     */
    private Long sellorganid;

    /**
     * 对应的供应链系统中的卖家的organid
     */
    private String sellmatchid;

    /**
     * 买家系统注册号id
     */
    private Long buysyscodeid;

    /**
     * 买家门店id
     */
    private Long buyorganid;

    /**
     * 对应的供应链系统中的买家的organid
     */
    private String buymatchid;

    /**
     * 账单金额
     */
    private BigDecimal amount;

    /**
     * 使用类型【1:消费 2:充值 3:退款 4:退货单退款】
     */
    private Integer type;

    /**
     * 来源【1:云 2:食尚购】
     */
    private Integer origin;

    /**
     * 备注
     */
    private String memo;
    /**
     * 余额
     */
    private BigDecimal balance;
    /**
     * 云供应链单据的id
     */
    private String arapbillid;
    /**
     * 串码号
     */
    private String serialNum;

    public String getSerialNum() {
        return serialNum;
    }

    public void setSerialNum(String serialNum) {
        this.serialNum = serialNum;
    }

    public String getArapbillid() {
        return arapbillid;
    }

    public void setArapbillid(String arapbillid) {
        this.arapbillid = arapbillid;
    }

    public Long getSellSyscode() {
        return sellSyscode;
    }

    public void setSellSyscode(Long sellSyscode) {
        this.sellSyscode = sellSyscode;
    }

    public Long getBuySyscode() {
        return buySyscode;
    }

    public void setBuySyscode(Long buySyscode) {
        this.buySyscode = buySyscode;
    }

    public Long getOrderid() {
        return orderid;
    }

    public void setOrderid(Long orderid) {
        this.orderid = orderid;
    }

    public Long getRefundid() {
        return refundid;
    }

    public void setRefundid(Long refundid) {
        this.refundid = refundid;
    }

    public Long getAccountid() {
        return accountid;
    }

    public void setAccountid(Long accountid) {
        this.accountid = accountid;
    }

    public Long getSellsyscodeid() {
        return sellsyscodeid;
    }

    public void setSellsyscodeid(Long sellsyscodeid) {
        this.sellsyscodeid = sellsyscodeid;
    }

    public Long getSellorganid() {
        return sellorganid;
    }

    public void setSellorganid(Long sellorganid) {
        this.sellorganid = sellorganid;
    }

    public String getSellmatchid() {
        return sellmatchid;
    }

    public void setSellmatchid(String sellmatchid) {
        this.sellmatchid = sellmatchid;
    }

    public Long getBuysyscodeid() {
        return buysyscodeid;
    }

    public void setBuysyscodeid(Long buysyscodeid) {
        this.buysyscodeid = buysyscodeid;
    }

    public Long getBuyorganid() {
        return buyorganid;
    }

    public void setBuyorganid(Long buyorganid) {
        this.buyorganid = buyorganid;
    }

    public String getBuymatchid() {
        return buymatchid;
    }

    public void setBuymatchid(String buymatchid) {
        this.buymatchid = buymatchid;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getOrigin() {
        return origin;
    }

    public void setOrigin(Integer origin) {
        this.origin = origin;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Long getLoginId() {
        return loginId;
    }

    public void setLoginId(Long loginId) {
        this.loginId = loginId;
    }

    public Long getSyscodeid() {
        return syscodeid;
    }

    public void setSyscodeid(Long syscodeid) {
        this.syscodeid = syscodeid;
    }

    public Long getOrganid() {
        return organid;
    }

    public void setOrganid(Long organid) {
        this.organid = organid;
    }
}
